Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Community articleUsing the CKEditor in the Classic Web Server
Added by ~Paul Minalitoden | Edited by IBM contributor~Autumn Ektoogen on August 3, 2010 | Version 6
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: 8.5.2, example
The CK editor is used in xPages beginning with 8.5.2.
Although there is no support for the CK editor in the classic web server,
it can be "plugged in" in place of or in addition to the dojo editor.

In the classic web server, the javascript rich text editor controls are generated to the html output page
using html "templates" that reside in the domino server data directory.
Specifically

data-directory/domino/template/dojo-/dom_richtext.htm

New templates can be added to connect to different rich text editors using a combination
of template files, notes.ini settings and browser.cnf changes
(browser.cnf is in the domino-data directory)

Here is an example dom_richtext_ck.html file (it was built by copying and modifying
the dom_richtext.htm file)
Place this file in the data-directory/domino/template/dojo- directory

(See attached file: writeupnotes.txt)

Then let the web server know about this file by adding a line to the server's notes.ini:

	WebRichTextEditorTemplates=dom_richtext_ck.htm


Note: This INI can be a comma separated list of template names -- so you can have several custom templates
More below.

Finally, choose which browser(s) will use the editor and make an entry in the browser.cnf.
The rule below will use the dom_richtext_ck template for all Chrome, Safari, and MSIE browsers.
Note: you may want to restrict this based on browser version, especially for early version
of MSIE.

Property WebRichTextEditorTemplateID Number 0
    Rule 1 Chrome
    Rule 1 Safari
    Rule 1 MSIE

The number value ("1" in the example) matches the relative position (starting at 1) of the control template in the
WebRichTextEditorTemplates list.

Note: values of WebRichTextEditorTemplateID > 0 overrides the design-time choice of rich text item editor
for any value other than "Using HTML" in the "Web Access : Display" peroerty.
So in the example above, the CK editor will be used for MSIE even it at design time it was set to
"Using Java Applet".
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (30)
collapsed Versions (30)
Version Comparison     
VersionDateChanged by              Summary of changes
30Oct 10, 2011, 6:41:07 PM~Naomi Bretooplopakoi  IBM contributorAdd the toolbar config to the CKEDITOR.replace call. Need to do it th...
29Oct 10, 2011, 2:45:58 PM~Paul Minalitoden  IBM contributoruse DIV to surround rich text data instead of TEXTAREA
28May 25, 2011, 9:45:10 PM~Paul Minalitoden  IBM contributor
27May 25, 2011, 9:40:13 PM~Paul Minalitoden  IBM contributor
26May 25, 2011, 1:51:10 AM~Paul Minalitoden  IBM contributor
25May 25, 2011, 1:50:24 AM~Paul Minalitoden  IBM contributor
24Aug 4, 2010, 6:09:43 PM~Autumn Ektoogen  IBM contributor
23Aug 4, 2010, 4:22:23 PM~Autumn Ektoogen  IBM contributor
22Aug 4, 2010, 3:07:47 PM~Autumn Ektoogen  IBM contributor
21Aug 4, 2010, 3:07:14 PM~Autumn Ektoogen  IBM contributor
20Aug 4, 2010, 2:18:40 PM~Autumn Ektoogen  IBM contributor
19Aug 3, 2010, 9:28:10 PM~Autumn Ektoogen  IBM contributor
18Aug 3, 2010, 8:56:02 PM~Autumn Ektoogen  IBM contributor
17Aug 3, 2010, 8:38:49 PM~Autumn Ektoogen  IBM contributor
16Aug 3, 2010, 7:54:47 PM~Autumn Ektoogen  IBM contributor
15Aug 3, 2010, 7:51:09 PM~Autumn Ektoogen  IBM contributor
14Aug 3, 2010, 7:35:14 PM~Autumn Ektoogen  IBM contributor
13Aug 3, 2010, 7:32:01 PM~Autumn Ektoogen  IBM contributor
12Aug 3, 2010, 7:15:43 PM~Autumn Ektoogen  IBM contributor
11Aug 3, 2010, 7:15:40 PM~Autumn Ektoogen  IBM contributor
10Aug 3, 2010, 5:56:20 PM~Autumn Ektoogen  IBM contributor
9Aug 3, 2010, 5:54:21 PM~Autumn Ektoogen  IBM contributor
8Aug 3, 2010, 5:50:06 PM~Autumn Ektoogen  IBM contributor
7Aug 3, 2010, 5:49:21 PM~Autumn Ektoogen  IBM contributor
This version (6)Aug 3, 2010, 5:45:55 PM~Autumn Ektoogen  IBM contributor
5Aug 3, 2010, 5:41:30 PM~Autumn Ektoogen  IBM contributor
4Aug 3, 2010, 5:40:49 PM~Autumn Ektoogen  IBM contributor
3Aug 3, 2010, 5:38:50 PM~Autumn Ektoogen  IBM contributor
2Aug 3, 2010, 5:35:38 PM~Autumn Ektoogen  IBM contributor
1Aug 3, 2010, 5:34:27 PM~Paul Minalitoden  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility